from django.db import models
from django.utils import timezone


class AlSample(models.Model):
    si = models.FloatField()
    fe = models.FloatField()
    cu = models.FloatField()
    mn = models.FloatField()
    mg = models.FloatField()
    zn = models.FloatField()
    ti = models.FloatField()
    ca = models.FloatField()
    cr = models.FloatField()
    sb = models.FloatField()
    sr = models.FloatField()
    al = models.FloatField()
    recorder = models.CharField(null=True, max_length=20)
    sample_source = models.CharField(max_length=50)
    sample_no = models.CharField(max_length=50)
    sample_time = models.DateTimeField()
    created = models.DateTimeField(default=timezone.now)
